<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>{$category['seo_title']}</title>
    <link rel="shortcut icon" href="__PUBLIC__/favicon.ico" type="image/x-icon" />
    <meta name="keywords" content="{$category['seo_keywords']}">
    <meta name="description" content="{$category['seo_description']}">
    <meta http-equiv="mobile-agent" content="format=xhtml;url=/m/list.php?tid=15">
    <link rel="stylesheet" href="__PUBLIC__/static/index/css/style.css" type="text/css">
    <script type="text/javascript" src="__PUBLIC__/static/index/js/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/index/js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/index/js/gotop.js"></script>
    <script src="__PUBLIC__/static/index/js/share.js"></script><link rel="stylesheet" href="__PUBLIC__/static/index/css/share_style1_32.css">
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?b82d543d70855f9af710f58eba190bf7";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <style type="text/css">
        .b_box7 li em a {
            color: #0068b7;
        }
        .home{background:#008d49;}
    </style>
</head>
<body>
<div class="head">
    <div class="logo"><a href="/"><img src="__PUBLIC__/static/index/images/logo.jpg" alt="代驾信息网"></a></div>
    <div class="search">
        <form action="{:URL('index/index/search',['keyword'=>111,'page'=>1])}" name="formsearch">
            <input value="{$keyword??'请输入关键词'}" name="keyword" type="text" class="search-keyword keyword fl" id="search-keyword" onfocus="if(this.value==&#39;请输入关键词&#39;){this.value=&#39;&#39;;}" onblur="if(this.value==&#39;&#39;){this.value=&#39;请输入关键词&#39;;}">
            <button type="button" class="search-submit fl">搜 索</button>
        </form>
    </div>
</div>
<div class="nav">
    <ul>
        <li><h2><a href="/">首页</a></h2></li>
        <li><h2><a href="#" rel="dropmenu25">找代驾</a></h2></li>
        <li><h2><a href="/djgs" {if $id == 6} class="home" {/if}>代驾公司</a></h2></li>
        <li><h2><a href="/fws" {if $id == 15} class="home" {/if}>代驾服务商</a></h2></li>
        <li><h2><a href="/jsc" {if $id == 10} class="home" {/if}>代驾市场</a></h2></li>
    </ul>
</div>
<div class="ban_1001"><a href="{$ads['special_top'][0]['url']??''}" target="_blank"><img src="{$ads['special_top'][0]['content']??''}" alt="{$ads['special_top'][0]['name']??''}"></a></div>
<div class="weizhi">您的当前位置：<a href="/">主页</a> &gt; {$category['name']}</div>
<div class="main1">
    <div class="left_1">
        <div class="g_box7">
            <div id="slideBox" class="slideBox fl">
                <div class="hd">
                    <ul>
                        {if isset($top['special_banner_'.$category_id]) && $top['special_banner_'.$category_id]}
                        {foreach $top['special_banner_'.$category_id] as $k => $v}
                        <li  {if $k == 0} class="on" {/if}></li>
                        {/foreach}
                        {/if}
                    </ul>
                </div>
                <div class="bd">
                    <ul>
                        {if isset($top['special_banner_'.$category_id]) && $top['special_banner_'.$category_id]}
                        {foreach $top['special_banner_'.$category_id] as $k => $v}
                        <li style="float: left; width: 300px;">
                            <div class="pic"><a href="{:URL('index/index/detail',['id'=>$v['id']])}"><img src="{$v['cover']}" alt="{$v['name']}"></a></div>
                            <div class="tit" style="bottom: -40px;"><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></div>
                            <div class="bg" style="bottom: -40px;"></div>
                        </li>
                        {/foreach}
                        {/if}
                    </ul>
                </div>
            </div>
            <script type="text/javascript">
                jQuery("#slideBox").slide({ mainCell:".bd ul",autoPlay:true,effect:"left",
                    endFun:function(i,c){
                        jQuery("#slideBox .tit").css({"bottom":-40}).eq(i).animate({"bottom":0});
                        jQuery("#slideBox .bg").css({"bottom":-40}).eq(i).animate({"bottom":0});
                    }
                });
            </script>
            <div class="g_box8 fr">
                <div class="t_1">频道头条</div>

                <ul>
                    {if isset($top['special_top_'.$category_id]) && $top['special_top_'.$category_id]}
                    {foreach $top['special_top_'.$category_id] as $k => $v}
                    <li><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']??''}</a></li>
                    {/foreach}
                    {/if}
                    <div class="clear"></div>
                </ul>
            </div>
        </div>
        <div class="ban_740"><a href="{$ads['special_center'][0]['url']??''}" target="_blank"><img src="{$ads['special_center'][0]['content']??''}" height="90" width="740" alt="{$ads['special_center'][0]['name']??''}"></a></div>

        {foreach $categorys as $k => $v}
        <div class="g_box5">
            <div class="t_4">
                <span><a href="{$v['url']}">更多&gt;&gt;</a></span>
                <h3><a href="{$v['url']}">{$v['name']}</a></h3>
            </div>
            <div class="pic">
                <a href="{:URL('index/index/detail',['id'=>$v['articles'][0]['id']??'0'])}"><img src="{$v['articles'][0]['cover']??''}" alt="{$v['articles'][0]['name']??''}"></a>
                <p><a href="{:URL('index/index/detail',['id'=>$v['articles'][0]['id']??'0'])}">{$v['articles'][0]['name']??''}</a></p>
                {if isset($v['articles'][0]['desc']) && $v['articles'][0]['desc']}
                {$v['articles'][0]['desc']|msubstr=0,56}
                {/if}
            </div>
            <ul class="b_box3">
                {foreach $v['articles'] as $kk => $vv}
                <li><span>{$vv['create_time']}</span><a href="{:URL('index/index/detail',['id'=>$vv['id']])}">{$vv['name']}</a></li>
                {/foreach}
            </ul>
        </div>
        {/foreach}

        <div class="clear"></div>
    </div>
    <div class="right_1">
        <div class="g_box2 u_2">
            <div class="t_1">栏目分类</div>
            <ul class="menu">
                {foreach $categorys as $k => $v}
                <li><a href="{$v['url']}">{$v['name']}</a></li>
                {/foreach}
                <div class="clear"></div>
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['special_right_1'][0]['url']??''}" target="_blank"><img src="{$ads['special_right_1'][0]['content']??''}"  width="250" height="250" alt="{$ads['special_right_1'][0]['name']??''}"></a></div>
        <div class="g_box2 u_2">
            <div class="t_1">最新文章</div>
            <ul class="b_box7">
                {foreach $new_articles as $k => $v}
                <li><em>[<a href="{$v['url']}">{$v['category_name']}</a> ]</em><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['special_right_2'][0]['url']??''}" target="_blank"><img src="{$ads['special_right_2'][0]['content']??''}"  width="250" height="250" alt="{$ads['special_right_2'][0]['name']??''}"></a></div>
        <div class="g_box2 u_2">
            <div class="t_1">热门文章</div>
            <ul class="b_box7">
                {foreach $hot_articles as $k => $v}
                <li><em>[<a href="{$v['url']}">{$v['category_name']}</a> ]</em><a href="{:URL('index/index/detail',['id'=>$v['id']])}">{$v['name']}</a></li>
                {/foreach}
            </ul>
        </div>
        <div class="ban_251"><a href="{$ads['special_right_3'][0]['url']??''}" target="_blank"><img src="{$ads['special_right_3'][0]['content']??''}"  width="250" height="250" alt="{$ads['special_right_3'][0]['name']??''}"></a></div>
    </div>
    <div class="clear"></div>
</div>
<div class="ban_1001"><a href="{$ads['special_button'][0]['url']??''}" target="_blank"><img src="{$ads['special_button'][0]['content']??''}" alt="{$ads['special_button'][0]['name']??''}"></a></div>
<div class="foot">
    <p>代驾信息网</p>
    <p>Copyright © 2002-2021 <a href="http://www.beian.miit.gov.cn" target="_blank">蜀ICP备19030077号-2</a></p>
</div>
<a href="/" class="cd-top">Top</a>

<script type="text/javascript">
    $(function(){
        $('.search-submit').click(function(){
            var keyword = $(".keyword").val();

            var url = "{:URL('index/index/search',['keyword'=>'KEYWORD','page'=>1])}";
            url = url.replace('KEYWORD',keyword);
            window.location.href= url;
        });
    });


</script>

</body>
</html>